-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ci): do not run rpcimportable on forks #3087
Conversation
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 📝 Walkthrough📝 WalkthroughWalkthroughThe changes in this pull request modify the CI workflow defined in Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (2)
.github/workflows/ci.yml (2)
99-101
: LGTM! Consider enhancing the comments.The comments clearly explain the rationale. Consider adding a note about when exactly this job runs in the merge queue for better maintainability.
# do not run this on forks as the are not installable -# it will still be check in the merge queue in this case +# it will still be checked in the merge queue (on 'merge_group' trigger)
101-101
: Consider using environment variables for the repository name.The condition is correct, but for maintainability, consider moving the repository name to an environment variable.
+env: + MAIN_REPOSITORY: 'zeta-chain/node' + jobs: rpcimportable: runs-on: ubuntu-20.04 timeout-minutes: 15 # do not run this on forks as the are not installable # it will still be check in the merge queue in this case - if: github.repository == 'zeta-chain/node' + if: github.repository == env.MAIN_REPOSITORY
c01a032
to
43072ce
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3087 +/- ##
===========================================
- Coverage 63.82% 63.47% -0.35%
===========================================
Files 422 422
Lines 29700 29821 +121
===========================================
- Hits 18955 18928 -27
- Misses 9909 10059 +150
+ Partials 836 834 -2 |
Do not run the
rpcimportable
test on forks. This check will still be run in the mergequeue.Summary by CodeRabbit